Set Firefox to accept cookies from sites but never accept third party cookies, and stop clearing your cookies. That’s all the cookie security you need.