title: JENKINS Authentication Fails
body: <p>I am getting the following error while trying to trigger Jenkins job from any REST Client</p>
  
  <blockquote>
  <pre><code>Authentication required
  
       &lt;!-- You are authenticated as: anonymous
  Groups that you are in:
  
  Permission you need to have (but didn't):
  hudson.model.Hudson.Read
  ... which is implied by: hudson.security.Permission.GenericRead
  ... which is implied by: hudson.model.Hudson.Administer
  --&gt;
      &lt;/body&gt; &lt;/html&gt;
  </code></pre>
  </blockquote>
  
  <p>The request is getting triggered while using curl from terminal</p>
  
  <p>I am using the following syntax </p>
  
  <p><a href="http://user:apiToken@jenkins.yourcompany.com/job/your_job/build?token=TOKEN" rel="noreferrer">http://user:apiToken@jenkins.yourcompany.com/job/your_job/build?token=TOKEN</a> 
    [ref :<a href="https://wiki.jenkins-ci.org/display/JENKINS/Authenticating+scripted+clients]" rel="noreferrer">https://wiki.jenkins-ci.org/display/JENKINS/Authenticating+scripted+clients]</a></p>
  
  <p>ie. curl -X POST <a href="http://user:apiToken@jenkins.yourcompany.com/job/your_job/build?token=TOKEN" rel="noreferrer">http://user:apiToken@jenkins.yourcompany.com/job/your_job/build?token=TOKEN</a> </p>