Login page fixes.

commit e1a3814fab3bfc83117bcdd81d81c5cb9baa74f3
Solves https://github.com/crew/dds2/issues/13