Authentication, routing after login and logout smoothed out for multiple users on same device.