origin and external_id columns

Temporary PR to review changes around origin and external_id columns.
Refactor of authz_approval to rely on user_id rather than username. 
Single class for us to track known origins that are used through out the code. This makes it easier to trace down locations that have been modified as part of this PR by searching for the constant used.