Cannot login with Werkzeug==2.3.0
With Trytond 6.6, we cannot login with Werkzeug==2.3.0 (it's ok with Werkzeug==2.2.3).
Tracelog:
15918 139905594136320 [2023-04-26 14:11:00,958] INFO werkzeug 172.16.2.36 - - [26/Apr/2023 14:11:00] "POST /tryton_preciball_stock_66/bus HTTP/1.1" 401 -
15918 139905594136320 [2023-04-26 14:11:08,971] INFO trytond.wsgi <JSONRequest None@172.16.2.36 'http://172.16.99.119:8000/tryton_preciball_stock_66/bus' [POST]>
15918 139905594136320 [2023-04-26 14:11:08,973] DEBUG trytond.backend.postgresql.database b'SELECT "a"."id" AS "id", "a"."create_date" AS "create_date", "a"."create_uid" AS "create_uid", "a"."key" AS "key", "a"."write_date" AS "write_date", "a"."write_uid" AS "write_uid", CAST(EXTRACT(\'EPOCH\' FROM COALESCE("a"."write_date", "a"."create_date")) AS VARCHAR) AS "_timestamp" FROM "ir_session" AS "a" WHERE (("a"."create_uid" IS NULL) AND true) ORDER BY "a"."id" ASC'
15918 139905594136320 [2023-04-26 14:11:08,976] ERROR trytond.security session failed for 'None' from '172.16.2.36' on database 'tryton_preciball_stock_66'
15918 139905594136320 [2023-04-26 14:11:08,976] DEBUG trytond.wsgi Exception when processing <JSONRequest None@172.16.2.36 'http://172.16.99.119:8000/tryton_preciball_stock_66/bus' [POST]>
Traceback (most recent call last):
File "/home/tryton/.local/lib/python3.9/site-packages/trytond/wsgi.py", line 119, in dispatch_request
return endpoint(request, **request.view_args)
File "/home/tryton/.local/lib/python3.9/site-packages/trytond/wsgi.py", line 92, in auth_required
abort(http.client.UNAUTHORIZED, response=response)
File "/home/tryton/.local/lib/python3.9/site-packages/werkzeug/exceptions.py", line 876, in abort
_aborter(status, *args, **kwargs)
File "/home/tryton/.local/lib/python3.9/site-packages/werkzeug/exceptions.py", line 861, in __call__
raise self.mapping[code](*args, **kwargs)
werkzeug.exceptions.Unauthorized: 401 Unauthorized: The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.
15918 139905594136320 [2023-04-26 14:11:08,977] INFO werkzeug 172.16.2.36 - - [26/Apr/2023 14:11:08] "POST /tryton_preciball_stock_66/bus HTTP/1.1" 401 -