Fixed constructor for password strategy