Fixed Login bug

Fixed bug which made it impossible to enter preferences at initial
installation.