[HttpFoundation] Fixing broken http auth digest in some circumstances.