Extend the error handler to throw an OAuthException on 401