Force the basePath to use https.