Sums of Kloosterman sums and sums of L-functions