Fix EZP-23156: Add test cases
Fix EZP-23156: add missing exception annotation to UserService::loadUserByCredentials