Fix EZP-23381: UserService::loadUserGroupsOfUser() checks wrong permissions

closes #1001