Changed the form action of the login page. Login in from /login seems to create a need for double logins since after login at this path reidrects to /web/login which asks for another login which then takes you into the app. This seems to avoid this behaviour and defaults to /web/login directly.