Lossing login cookies only once

I got a problem
(php)
(v5.82)
I have a security provider (the type is not relevant, as it happens with data, single, static)
The login works perfect but when I go to a restricted page, it returns to the login page, and after (another) login success, the problem disappear at all.
If I logout, and then I login again, there’s no problem.
But if I delete the cookies, the problem appears again.
Here and in other devices, on local server, or live domain.
All files synced.

(The errors in console are for the images only).

Anyone has a clue of what is happening here? I remember having a similar issue in the past with another project. But I don’t remember if it was fixed via wappler update or accidentaly editing something.
Thanks in advance everybody!

Found this after slowing the site

And

Anybody? It’s a simple database user login.
I found similar topics with no answer on it.
I dont know how 302 error is related to Wappler and what else to do.

Found the issue, related:
https://community.wappler.io/t/security-provider-not-using-the-cookie-options/51330/4