Optimal access regulation with downstream competition