title: Push to GitLab with JGit authorization error
body: <p>I am able to clone from GitLab via JGit, but when I go to push the changes, I get a <code>not authorized</code> error message. </p>
  
  <p>Three more essential details:</p>
  
  <ol>
  <li><p>I own the repository so it's not an issue with read-only access.</p></li>
  <li><p>The repository is private so I know the OAuth 2 token is valid and being used in the initial clone.</p></li>
  <li><p>I ONLY have the username and an oauth2 token. I do not have the user's password, SSH key, or personal access token.</p></li>
  </ol>
  
  <p>Here is my command for cloning: </p>
  
  <pre><code>Git.cloneRepository()
    .setURI(target)
    .setDirectory(repoFolder)
    .setCloneAllBranches(true)
    .setCredentialsProvider(new UsernamePasswordCredentialsProvider("oauth2", token))
    .call();
  </code></pre>
  
  <p>Here is my command for pushing:</p>
  
  <pre><code>PushCommand push = cloneSource.push();
    push.setRemote(target);
    push.setPushAll();
    push.setCredentialsProvider(new UsernamePasswordCredentialsProvider("oauth2", token));
    push.call();
  </code></pre>