Explicitly wire OAuth2 beans
Handle exceptions originating in endpoints properly
Add custom oauth_error handler