auth:creds: Add cli_credentials_get_domain_and_obtained()