I'm not usually one to argue with the AHD on matters of etymology but, while I've always been with them on the mid part I thought the wife part refered to the one giving birth. That the midwife would be a woman was probably the more common alternative just because a woman would have the personal experience, it was not necessary and a man could be a midwife.