lb: fix BalancingAlgorithmFactory setup and injection