Hi JB2,
You have to add the commands for the Patterns to use to the agents allow-list.
The Documentation page has this an easily overlooked *Note* in the description of the 'sn_agent.appl_classification_behavior' property, and links to a KB articl...
Did you check the config.xml file in the /servicenow/midserver1/agent directory on midserver1's host machine?
Line 29 will have the user name that midserver1 is passing to your instance and as Jeff and Sukraj said you should find it's passing "mid us...