Have you tried doing this with sidestand connector? I copied it from another thread, hopefully jonmac won't mind.
"Hi there
does the bike have the stand switch in place ? if it has been removed the wires need bridging together in the block on the loom, If this is so give it a go,
all the best,
jonmac "