Fixing URLs to use secure scheme.