fixed bug with user insert in digest auth