Fix validation of hashes in BackupMultifactorMethod