Make login/registration work on all systems.