rsnext/examples/with-firebase-authentication/utils/middleware/cookieSessionRefresh.js