fix Sync users who verify in a second browser.

Users were seeing the big white screen of death. Fix this. Add some functional tests around it.