The issue is that if you used to have an old router at the same IP address, the Edgerouter sees that there was a cookie set for that IP and goes bonkers because it thinks it's a cross site request ...