Add auth to upsert API
Add auth to the get.py API actions

Now all the API actions have auth and auth tests.
Fix everything broken by the new auth functions