Fix the appearance of two browser screens on login

Should fix this http://teampulse.telerik.com/view#item/266471