Fixing HTTPS Redirect on Non-Secure URLs