NTFY-57: initial checkin of database connection handling based on accounts
NTFY-104: fix logging bug in metrics and allow service tokens to work in development mode so that they don't call the Auth Service
NTFY-57: refactor and enhance to allow caching by realm and account
NTFY-104: missed commit of uuid module requirement