Get development login working. Fix bugs.

Most of the bugs are related to methods which devise had
but which were not implemented.

It would probably be a good idea to look at moving the pubtkt
stuff into a warden strategy.
Fix user migration to index uid field.

Getting ready for qa deploy