I'm thinking bad ground as well. Dunno if I'll get to it today, but I'm planning to pull the cover and bulb and just have a good look at the socket. Maybe try to clean the contacts in the socket with a stiff wire brush to remove any possible corrosion or oxidation and see if that fixes it.