Cleaning up cookies in post-publication hook