Fix log-in usability. fixes #29