Fix the appearance of two browser screens on login