Another solution to the above error is;
1. Open IIS Manager and select the website that is causing the 401
2. Open the "Authentication" property under the "IIS" header
3. Click the "Windows Authentication" item and click "Advanced Settings" from the right
4. Set "Extended Protection" to "OFF"