Fix error preventing login.