Handle all exceptions in oauth2 provider.

https://github.com/lepture/flask-oauthlib/issues/125