Doc typo fixed.
Moved passphrase creation into registration module.
Test reregister passphrase creation
Merge pull request #1009 from hjoliver/passphrase-creation-fix

Passphrase creation fix