Even when people are warned of the tax dangers of withdrawing from a traditional retirement account, they seldom account for it, a study reveals.