Updated OAuthTokenCredential to use HttpConnection class instead of inline web call