Change identity search to external_id, change cas_hash lookups to match our environment