A Taliban attack on a military outpost in the northern province of Baghlan in the early hours of Wednesday killed as many as 44 Afghan police and soldiers.