If one spec disables the usage ping in the in-memory application settings
(e.g. spec/features/usage_stats_consent_spec.rb), then this spec will
fail. To work around this problem, we enable the usage ping explicitly
in the setup phase.
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7290