Forced file upload auth form to give https destination when the incoming request is in https