Refactoring.
Enabling Windows authentication