This is called when action = register or action = ""
It calls register and either Verify or Finish.
Hopefully we will get workflow integrated and rewrite this to be table driven
Presently this is called in RegisterCgiScript? directly after a call to verify. The separation is intended for the RegistrationApprovals functionality
calls _reloadUserContext (throws oops if appropriate)
calls newUserFromTemplate()
if using the htpasswdFormatFamily, calls _addUserToPasswordSystem
calls the misnamed RegistrationHandler? to set cookies
calls addUserToTWikiUsersTopic
writes the logEntry (if wanted :/)
redirects browser to 'oopsregthanks'
reloads the context by code
these two are separate in here to ease the implementation of administrator approval
generate user entry
If a password exists (either in Data{PasswordA} or data{CryptPassword}, use it.
Otherwise generate a random one, and store it back in the user record.