Fix error in login test (was logging in user when it shouldn't be)