Blizzard confirming that Vial of Shadows is in fact bugged at the moment, by not scaling with RangedAttackPower.
Originally Posted by Blizzard
Just want to confirm: Vial of Shadows working only with melee attack power and not ranged attack power is indeed a bug.
Barring unforeseen complications, this will be fixed in an upcoming hotfix.
Thank you for the feedback!