fix http auth with multiple curl handles