MT#7469 Cleanup url handling for dev provisioning.
MT#7471 Implement web and api for contract prefs.