Daily open and query databases to check consistency and rotate refresh tokens

Databases may fail to open after being inactive for some time, since credentials have changed or security settings altered such as a new firewall.

To automatically detect such issues, we plan to open each database daily. This might be combined with configurable pre-loading data to improve throughput at the expense of losing some real-time characteristics.