See related, #102 I am using v2.1.5. I tried to configure -Dheader and -a but can't seem to get this to work. I always get the message: Server returned HTTP response code: 401 for URL when I try to generate a java client.