Fixed login stuff.