Auth guard and middleware for jwt refesh in a concurrency use case, e.g. single page web applications.