Bugfix no query update when POSTing on a user-restricted resource

My fix last time introduced a bug when POSTing on a user-restricted resource, this is how I fixed it.
Merge branch 'patch-1' of https://github.com/tsileo/eve into tsileo-patch-1
Fix and refactoring for User-Restricted tests
Merge branch 'tsileo-patch-1' into develop