Recover from Mongo/Redis failures in healthcheck.

If the health check returns a non-200 response, our monitoring
currently treats this as the entire app being broken, so we should
recover from errors wherever possible.