Catching all ApiExceptions in login resolve user (fixing Uncaught Exception: Uncaught exception 'InvalidParameterException' with message 'Username or email not found cannot be empty.' in /opt/omegaup/frontend/server/libs/Validators.php:48)