Fix the login view, configure to use the 'name' and 'password' for login.