fix cookies

Please test and merge.  To replicate the bug try setting a cookie with a plugin IE ep_themes, it didn't work, it did work before...