Next step is now to reactivate the power supply. I removed the mains filter and rewired all the connections using fresh solder and WAGO clips. I also cleaned the power cord. Afterwards I tested that GND is connected to all metal parts of the case, N and L have good continuity and low resistance and that the power switch works and properly opens and closes. I think this should be safe to turn on!