support base64 encoded URI when add new profiles.