Replaces postgres-specific 'now()' with standard SQL CURRENT_TIMESTAMP
Render checks that opts which are passed in are valid before trying to use it.
Adds scopes: ["all"] when creating a new api client authorization, because database schema does not permit have a null scopes column.