reauth: check for updated oauth tokens, update if necessary

Added test for coverage for this change. Test passes for SQLAlchemy app, but not for MongoDB or Peewee apps. The `after_this_request(_commit)` doesn't seem to take for those two, and I'm not sure exactly how to add the updated `connection` object to the abstracted "session" (or if that even makes sense in this abstraction).