Added helper functions for GetOAuthUrl()