Ensure the login window stays in the middle on mobile

This fixes a problem in Safari on the iPhone.
This also moves the login button and the first name to the right.