prevent endless loops when browsers have third party cookies disabled