Have had similar probs, with my hacked wiring, some spades, as in your pic looked oxidised,
i put a little White Zinc Cream on the spades. (from local chemist) removed connector from spade,
with a small artists brush, put some cream into the connector, when replacing connector, wriggled
the connector sideways (just a little) while pushing slowly onto spade. Prob gone, also fixes bad earth
connections, a dull bulb restored to bright by a scrape to see bare metal on body, a little cream
applied, connect earth wire and tighten connection, where this has not worked, the hacked wiring
has been found to be the problem. Cheers Geoff, (won't work through paint, Bare metal Only)