config user factory to get tests passing and remove i18n deprecation warning