Fix up login.