fix for FF SecurityError with disabled cookies