Encrypt the registration process as well if encryption is enabled.