minor changes
(username- and passwordfields won't be resetted if login fails due to
connectivity problems)