Fix bug where changing passphrase back to empty string blocked keygen