Fixed login

Login should now be working properly.