Catch unexpected exceptions and respond with a OAuth2 'server_error'