Fixes for bug in OpenAuth logic. This fix allows multiple Oauth based
endpoints to co-exist.
Formatting changes
Merge pull request #254 from ManishKataria/OAuthFixForMultipleEndpoints

Fixes for bug in OpenAuth logic. This fix allows multiple Oauth based