"Application error" or "Cannot redirect an HTTPS request to an HTTP virtual URL" error in a reverse proxy deployment using form-based authentication