More login fixes.