Removes leading '/' from paths so that paths are correct when hosted in sub-uri