settings/tests: Disable keycloak use when not running pytest
It enables to fallback to django base authentication backend when
not running pytest, for instance when running cypress tests or
when using the run-django-webpack-memory-storages
make target.
Migrated from D5791 (view on Phabricator)