I have an idea that Hyndman's (Marxist) Social Democratic Federation was one of the bodies that came together to form the Labour Party. Perhaps the Labour Party inherited the song from them.