Fix incorrect username display after autologin

https://www.pivotaltracker.com/story/show/70399730