runner.tests: _getRcode function adapted to the new login form of the monitoring stack