fix one bug for digest auth
Merge pull request #107 from michaelnsj/3.0

Merged.