More robust detection of problematic cookie settings