avoid using http_request :head on chef 11.8 (CHEF-4762)
fixed mail integration test broken with owncloud 6
fixed mail integration test on postgresql and sqlite suites too