I am connecting to a Jira Data Center via a C++ application using Basic Authentication. I am able to successfully connect and query the server for project and issue information as expected. If the username and/or password is incorrect on the initial query, the call fails with an HTTP_STATUS_DENIED error. However, if the username and password is CORRECT on the initial query, subsequent queries are successful regardless of the values for the username and password.
I am wondering if this is by design, or if I am doing something wrong.