Fix login button and user context displayed wrong on mobile devices.