SanCoder: add SHA1 password encoding and adjust test