Authentication state as a cascading .Net 8

With a problem that gave me about cookies, I realized that reading the documentation of .Net 8 Security, the projects that are generated with azure authentication is generating relatively bad template. I attach the images for a better understanding of the problem.

Topic is irrevelant. There is nothing about Radzen.

should be relevant since radzen studio generates the template poorly. And it can generate problems with .net 8.