cheat and remove the brightness switch :-) I've removed mine as it had melted

but also there was an iffy connection on the back of the headlight switch. Have you looked behind there? IIRC the two are connected. Any voltage at any of the brightness switch connections?