Correctly handle a digest authorization header when one of the hex field values ends the header with in an invalid character. Expand the test cases to improve coverage including this issue.