Install APM 10.7 SP1 and later . See FAQ section of Websphere MQ powerpack doc for directions. It states the following:
MQ is configured with username/password for authentication. IBM WebSphere MQ fails to connect. How can I provide username/password details?
Username/password can be passed as System properties by adding them in the startMQMonitor.sh/startMQMonitor.bat file available in the <MQMonitor_Installation> directory. Open the appropriate file based on your operating system and add the following properties in the java:
-Duser.name=<user_name> and -Duser.password=<password>