The command line flag --path.conf was removed yet this test was still using it. This commit replaces the usage of this flag in this test with the new mechanism. Original commit: elastic/x-pack-elasticsearch@c37050894c