Refactoring, Authentication