Fix test URLs
- remove http: before placeholders;
- add slash after placeholders;
- preprocess environment config URLs to remove slash if it's there;
- replace leftover URLs.