Add digest authentication.
Merge pull request #366 from lukaszwinnicki/master

Add digest authentication.