Added some validation to nickname/passphrase.