Bit of refactoring, attempt a login request if we detect the remote jolokia is part of hawtio