Added cookie-key check for enabling requirestat collection