Added the DigestCredentialHandler to the list of supported credential handlers.
Small improvements to the test cases.