Add a test for digest auth in curl_httpclient.

I wrote this to test for a file descriptor bug, but can't reproduce it
on my system.