.NET Core 8 cookie value getting formatted I have an api which I migrated from .NetFramework to .net core 8.