Add retry handling for a stale nonce with digest authentication
Add tests for the retry handling for a stale nonce with digest authentication