title: jenkins api authentication failure
body: <p>I am using oauth authentication for jenkins. I can successfully make api calls if i use my_user_name:api_token when my user name is explicitly configure in global security. It fails when my user name does not exist but a group which contains the user name and has all permissions. </p>
  
  <p>Any idea about this phenomenon ? 
  thanks in advance </p>