Fix broken post calls where resource comes back as null and refresh call throws an exception
Add audit_logs for tenant resource