DEV: Fix presence testing in legacy ember environment (PR #14596)

The legacy testing environment will remove the User.current() value before disposing of controllers/components. Presence often involves making HTTP calls during disposal of components, so this can cause issues.

Production, and the modern Ember-CLI environment, do not require this hack, so it is behind an isTesting() && isLegacyEmber() check.

GitHub