Merge pull request #586 from bhariharan/unstable

Use loginUrl instead of instanceUrl for revoke endpoint
Use protocol