MOB-681 update library so that if a prefix is present then the prefix is honored when the url is served for a redirect