Digest authorization does not increase the NC value and loses the session

I created a collection and set up Digest authorization in it. I created 2 queries, but the second query ends with an error. If you open the console, you will see that the second request does not increase NC, although according to RFC it should have been increased, otherwise the request will return a 401 error, which actually happened. Where should I go with this error?