title: Git over HTTPS can ls-list but cannot clone
body: <p>While this is a common question, this one is particlary different than the others, when I issue git ls-remote <a href="https://myuser@bitbucket.org/myser/repo.git" rel="nofollow">https://myuser@bitbucket.org/myser/repo.git</a> , it asks me for the password and gives me the result:</p>
  
  <pre><code>tomaz:~/ $ git ls-remote https://tcanabrava@bitbucket.org/tcanabrava/randrepo.git
  Password: 
  1c8cd7266ad19de952db096a0f25ee16dc3cdace        HEAD
  1c8cd7266ad19de952db096a0f25ee16dc3cdace        refs/heads/master
  </code></pre>
  
  <p>but when I issue git clone...</p>
  
  <pre><code>tomaz:~/ $ $git clone https://tcanabrava@bitbucket.org/tcanabrava/randrepo.git
  Cloning into 'felipao'...
  Password: 
  error: RPC failed; result=22, HTTP code = 401
  fatal: The remote end hung up unexpectedly
  </code></pre>
  
  <p>And I'v already looked over and over on all google answers for this particular error and nothing could fix it. </p>
  
  <ol>
  <li>I'm sure that the address is correct, it lists the branches using ls-remote.</li>
  <li>already set the  postBuffer = 52428800</li>
  <li>the proxies are fine, it lists the branches using ls-remote</li>
  <li>run with GIT_CURL_VERBOSE=1 too long to post here unfortunately =(</li>
  </ol>