Fix some issues with autoconfiguration that made it impossible to set up an account at 163.com
Merge pull request #12 from jimporter/fix-163.com

Bug 874348 - Fix some issues with autoconfiguration that made it impossible to set up an account at 163.com. r=asuth