Using username/password I get:
JIRA::REST Error[401 - Unauthorized]:
Basic authentication with passwords is deprecated. For more information, see: https://developer.atlassian.com/cloud/confluence/deprecation-notice-basic-auth/
Using pat (assuming it's the Jira API Token) I get:
JIRA::REST Error[400 - Bad Request]:
- The value '<EXISTING_PROJECT>' does not exist for the field 'project'.
https://id.atlassian.com/manage-profile/security

I didn't find a separate Personal Authentication Token (PAT) option looking through Jira settings