Refactoring auth providers blueprints.