I *think* it gets the ability.
The Holy Avenger ability is keyed to the Priest, not the Token (IE, its an ability on his card and so has been in play already. The token isn't an "enchantment" carrying the buff). So when the named Holy Avenger gets his attack, all the criteria has been met to trigger the bonus.
So, to the best of my knowledge it works.