502 Error for too many auth0 cookies

We have auth0 implemented with our AngularJS application. Unfortunately, seems like some of our clients have problem having access to our system once in a while.
The problem is that they face 502 bad gateway error after login in done and they are back to call back URL.
I have check the cookies and the reason for 502 error is too many Auth0 generated cookies.
Problem appears once in a while and will be fixed by clearing the cache and cookies.
Example generated cookies are included blow.