Create origin from given url in metadata
After deposit_checks verifies that the url exists and that it is compatible with the client_url.