Allow passing options to password_hash().

Refs #3899
typo hashType