Remove reliance on manual cookie entry for ptn plugin.