BMW (and many other manufacturers) strongly advise the use of "Stabilant 22" for applying to the connector pins, both male and female for such instances. It's fooking expensive, but if there's a connection issue with the pins and varying resistance is the root, the Stabilant usually fixes it.
FYI.
FYI.