title: BitBucket API download src file zip issue
body: <p>I am connecting to the BitBucket API and would like to be able to download the zip file of a repository to the server. Due to the repositories being private it requires user access.</p>
  
  <p>I can download the file by the user login details within the link:</p>
  
  <pre><code>https://{user}:{pass}@bitbucket.org/{owner_name}/{repository}/get/master.zip
  </code></pre>
  
  <p>But I would like to be able to download the file by using the access token via the API most likely by cURL or by any other means.</p>