Jesus, why don't people with problems ever give you the whole picture?
Might I suggest that the removal of the ignition switch necessitated the use of an alternative method for powering the bike?
Duh.
It's a bit obvious that the loom has been tampered with, and the previous user had it wired so the headlight switch worked as an ignition kill. If it was on the track the headlights would have been removed anyway.
Buy a new ignition switch and refit it to the bike as per the standard wiring diagram and I suspect your problem may go away...
_________________
MC21SP Plaything
BMW F800GS Bumblebee
Triumph 9551 Daytona Big boys toy
FJ1100 Sporting relic
GTS1000 oddball