Metricbeat jolokia vs Red Hat AMQ servers vs HTTP error 403

Did you test hard coding the username and password in the metricbest configuration?

Ohh and I think the syntax per doc is

username: ${JOLOKIA_USER}