More login handler work. Crypt is now in use.