PT-50586493: Check and retry mongodb connection on startup
PT-49109861: Autoload autologout time from mongodb