Fix failed login test