security cookie issue fix