I don't believe there is anything wrong with your headlight and horn circuits. It sounds to me that you have a bad wire connection. From what you described I think it is the brown/blue wire between the ignition switch and the battery. Assuming that your battery is ok, I would check all of the terminals, fuse and fuse holder between the battery and the ignition switch. When you check the connectors you need to check not only that they are tight on the electrical component, but the wires also need to be secure within the terminals themselves. Even if you're not using an electrical component such as a Zener diode, 2MC capacitor, etc., the wires still need to be secure inside the terminal. This is because the wire terminals also double as a wire splice.
If all of those wire connections check ok, then I would check all of the red wire connections which are the ground wires. Just like the other terminals the red wires go from various electrical components and double as a splice at these components. So even if an electrical component is disconnected, those terminals still need to be in good condition.
The horn and the headlight are thirsty and they draw a bit of current. What happens when there is a poor connection in the circuit and you have a high current requirement of an electrical load (i.e. horn, headlight), you will get a much greater voltage drop at that bad connection. Which would cause the ignition system to quit working.
Hope this helps,
Pete