the brake light runs from the battery
The headlight is totally seperate and is directly powered from the magneto...so needs the key in position 2 possibly and the engine running and switches on.
how many positions does your key switch have including OFF ? is it OFF, 1, 2, 3 ?
on the left hand control is there an On / Off for lights ?