Rewritten.

None doesn't branch to a default. If user non-None, then the user object has already been created so we don't need to show the user the account creation form. On the happy path for account creation, this happens the second time this function is invoked.