Fixed curl auth

With CURLAUTH_ANY http auth does not work at all.