Fix. Wrong sha1 hash in bootstrap.
Authentication with local password is working. If successful, the user object is added to the session (logged in).
Adding check for locked out accounts.
Adding logout.
Minor adjustment to logging layout.
Added kate swap files to ignore list.