I don't know about the "bad luck" designation, but it is also the traditional number of people in a coven. Maybe the negative association was started by the same people who burned wise women for "worshipping Satan."
Just a thought!
Elizabeth