Add password encoding