Improvement to error handling by identifying OAuth2 errors as specific e...

...rrors.

Currently all errors are raised as Oauth2 errors.