title: Jenkins: withCredentials() can't access user scope credentials so is there any way I can use to access user credentials?
body: <p>I'm trying to configure a test job to access user credentials in jenkins with withCredentials() but it doesn't work. I use "Authorize Project Plugin" and configured the job with option "Run as User who Triggered Build"</p>
  
  <pre><code>node{
       withCredentials([usernamePassword(credentialsId: 'mytoken', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
          usernameLocal = env.USERNAME
          passwordLocal = env.PASSWORD
       }
  echo "echo vars: ${usernameLocal} - ${passwordLocal}"
  }
  </code></pre>
  
  <p>Here are the first 3 lines of the output: </p>
  
  <pre><code>org.jenkinsci.plugins.credentialsbinding.impl.CredentialNotFoundException: Could not find credentials entry with ID 'mytoken'
  at org.jenkinsci.plugins.credentialsbinding.MultiBinding.getCredentials(MultiBinding.java:153)
  at org.jenkinsci.plugins.credentialsbinding.impl.UsernamePasswordMultiBinding.bind(UsernamePasswordMultiBinding.java:76)
  </code></pre>
  
  <p>You can see that it can't find credentials entry with ID 'mytoken' which is defined already in user scope.</p>
  
  <p>I did a lot of search and found that it may be impossible to do it using withCredentials(). So, is there any way that I can access user credential scope?</p>
  
  <p>Thanks in advance.</p>