added default password encoder.