fix auth test introduced by digest auth change
Merge pull request #4009 from dimagi/auth-tests

fix auth test introduced by digest auth change