EZP-22162 / Fixed fetch of users by role.

https://jira.ez.no/browse/EZP-22162