use TypeError rather than generic Error
verify salt and iteration when asking for SCRAM derivedKey