Snappymail "Invalid token error on login"

i just upgraded cyberpanel and the email path changed to snappymail. the problem is i get invalid token error on login attempt!.
when i replace snappymail with rainloop in address everything works again!
any idea how to fix invalid token?

Let us check this issue in detial