My approach would be to form a new gasket in the lid using -if you can find it- one of the Neoprene or Silicon rubber building sealants such as Dow 795. Takes a few days to cure but makes an extremely durable sealing gasket that is impervious to almost anything and permanently bonds itself to almost anything (I once sealed a hole that got punched in a jeep gas tank and it was still good as new several years later when I got rid of it).
It comes in caulking type tubes and is applied with a caulking gun, you can smooth it to a very fine surface using your finger dipped in mineral spirits (and can clean up any excess or drip the same with the spirits as well). It even comes in colors. You usually find it by calling around to commercial suppliers that deal with building maintenance and repair trade products. It is superior to something like RTV sealants to an extreme degree and doesn't stink while curing.
You might try just skipping the grease first though, since it will make the rubber a little more likely to grab against the metal of the lid instead of slipping out.