Make sure the email address is focused when the dialog starts up.

@seanmonstar and @jrgm - could I get a review?

* The input element was not being focused because we prematurely said that the dialog was in the enterEmailState.
* Fix the failing QUnit test when it is run in isolation.

An ephemeral instance, focus-damnit.personatest.org is set up for testing.

fixes #3424