Use getMaxActiveSessions() in Tomcat metrics

Replace the getMaxActive() call with getMaxActiveSessions().

Fixes gh-1902