Strange signal spike to GPIO pins at startup of NodeRED (Pigpiod)

The connections shown in the image are correct.

However, as I said earlier, I have had no problems using the 5V from the Pi to drive the relays too (an 8 relay board in my case). To do that, remove the separate supply, put the jumper back in, and connect GND on the pi to GND on the relay board.