Ah, perfect timing! Both my headlamps are doing my head in at the moment for exactly this reason. Sometimes they work, sometimes they don't! Takes a bit of jiggling of the connectors to get them to come on. Think I'll take the route of new connectors, connected with relays as per that link.
Cheers,
Matt