Encode entities; Use base64 encoded URL for auto popup cookie name