Done changes in code to connect Websphere MQ with username and password.