TODO: Query either couch or sql for org id.

Waiting on Mark's SQL version of fetch_org_id().
What was the necessity for this change?