Redirect to correct protocol in SUL2

Handles situations where:
* The wiki has wgSecureLogin enabled, but the user opts-out of SSL
* The user logs in over http

bug: 50334
Change-Id: I69de057244422c403cde50b9d1755e1dd55e1258
Merge "Redirect to correct protocol in SUL2"