http auth fails with multiple curl handles