Fixups for the login template
capybara test for login