fix tests, fix layout of login pages