Frontend: Fix a few problems on the login page