Fix up login/register/verify flow.