I am trying to connect remotely to REST API using basic authentication and for jira instances with address "atlassian.net/" this method is working, but for intance on "https://jira.mycompany.com/jira/rest/api/2/project/8787" I am getting redirection to SSO login page. I have permissions and when I am login to SSO by browser with turned off SSO autologin I can get JSON data. Where can be problem and how I can fix it?