OAuth2 auth support, wireup first rest-endpoint.