Fixed one test that didn't use the configured root URL

There was a hardcoded 'http://localhost', if you use a different port that 80 then the test fails
Merge pull request #5939 from mnapoli/fix-tests-root-url

Fixed a test to use the configured root URL