Fixed login order in login_spec