Auth client implementation using OAuth2 and HyperResource