Using UiPath CLI for package deployment for On-Prem Orchestrator

Try to see if those username and password credentials are working to authenticate with Cli.

If not, create a new user in https://YOUR_ORCHESTRATOR_HOSTNAME/identity/management/users and add to it the option to always login with Basic authentication

Add the user to Orchestrator and provide the necessary permissions for your automations.