Some fixes

- Make sure that Authentication->check() can never check for
LOGGED_OUT_RANK.
- Add EmptyView for empty pages.
- Let LoginPage handle the login logic themselves.