Fixed error with admin login not working.