Issue #2934520 by tstoeckler: Avoid information disclosure by timing attack in EntityResource::patch()