Fix HTTPDigestAuth not to treat non-file as a file

Ensure pos is set to None when the body is not a file
so that HTTPDigestAuth detects the type of the body correctly.
Merge pull request #2333 from akitada/reinit-pos

Fix HTTPDigestAuth not to treat non-file as a file