Log user out before testing login function. #600