Skip saml2 tests that needs a mongodb if there is none.