Avoid an infinite redirect in $wgSecureLogin handling