Convert loginController to litcofffe.
Move app designator out of layout.

This is to support different 'signup' and 'login' apps.
Checkpoint.