Cookie popup showing when it shouldn't

I have a conundrum!

I want a signed in user to be able to accept cookies, which will save to the database as CookieAccepted = Yes.

However, I also want a new unsigned user to be able to dismiss the cookie alert, which is why I have implemented the js-cookie code.

The conundrum is that most new users will immediately dismiss the cookie alert, so when they log in it is no longer showing, so they can’t click it again to save their User’s CookieAccepted field to the database!

What is the standard solution to this?!