Add digest authentication.

I've needed digest authentication in api tests so maybe someone else want to use it.