Fix login issue in Auth.class.php