tweaks for configuration of mojolicious app

In response to the database failures seen in merging #797, this pr SHOULD fix the problems. Running the tests locally  reported successes (though I must admit, I'm not sure I fully grok how your test framework works).

Thanks!