Auth factory replaced with provider.