Fix default argument bug in make_salted_hash