Fixed not being able to login more than once.