Implement client pattern that sets an oauth2 authorization header; closes #1