Added support to PasswordFactory to specify a salt type and allow "TEST" in order to more efficiently use in testing (salt generation is slow).