try harder to get a mongodb connection, saw it fail.
Merge branch 'master' of https://github.com/SUNET/eduid-am