What type of plug is this (looks like mini din 4 pin)
Turns out this was a lot simpler than I thought.

That horizontal metal tab is not a tab, but a bent pin, only it was so bent that only after removing the plug shell were we able to see it.

The plug is a plain old 5-pin mini-DIN.