backup before refactoring to allow multiple authentication providers