Improve organization of login tests