Fix last test?

Changed the login function this time