[#99] fixed some problems with empty passphrases