nil is retuned if cookie is tampered with [ci skip]