fix one bug for digest auth