Moved passphrase creation into registration module.