来源（新鲜鲤鱼的Blog - DonewsBlog）
Fixing the localhost authentication problem in FireFox
for some time I had a strange problem; I could load sites from http://localhost in MSIE, but whenever I tried FireFox, it asked me for an user name and password. I've tried it all but I couldn't authenticate.
1. If you happen to have the same problem, here's a quick and simple workaround:
2. In Firefox type about:config in the addressbar
3. Find the preference named network.automatic-ntlm-auth.trusted-uris
4. Doubleclick and type localhost
Enter and you're done