Bugfixes for last commit
- Fix race condition for login frame
- Fix guest logins