Fix a bug with password user creation

Part of confirming a password user causes a 'forced' login as an
AnonymousUser, which should be successfully handled by the identity loader.
Merge branch 'anonymous_identity_fix'

* anonymous_identity_fix:
  Fix a bug with password user creation