Fix oauth2 login https url

Construct login url based on site's protocol prefix.

Change-Id: Ib1df17f1e85301e72163d557c4c9f988579aaad8
Merge "Fix oauth2 login https url"