Fixed relative download-url-prefix config and added a test to catch if it breaks in the future.