BS-7828 Submit a form during maintenance does not redirect to the login page