Authentication for Third-party Call Control App using AMI

I’m looking for help finding a way to authenticate an agent. I have a service connected to FreePBX 12.0.37 via AMI that handles all actions and processes all events related to any number of agents attached to the service. The problem is I have no way of authenticating individual agents via AMI.

I would love to use the login capabilities of UCP for authentication. That way I could avoid having to have duplicate information or separate authentication systems in place. Any thoughts or suggestions would be appreciated.