Fixing bad layout in login and other forms using the login template