SanCoder: add SHA1 password encoding and adjust test

### 增加SHA1密码验证并相应调整测试