Fix password hash generator.