Adapter cable with polarity protection