misc fixes for integration tests

this fixes some JMX lookup, and switches from Optional to Maybe so we get nice traces on errors.

more to come potentially (have to fix cassandra test)