Login screen fixes

Signed-off-by: Ondrej Koch <o.koch@zerusnet.com>
Minor bugfixes

Signed-off-by: Ondrej Koch <o.koch@zerusnet.com>