CORE-5546: refactored OAuthCallbackServlet and made its error handling more robust