I have an HTC One and I had this same problem. I tried everyone's suggestions and it kept saying authentication error. I was able to connect to every other Wi-Fi network but the at my house. I ended up getting another router and I was able to connect. You don't need a brand new router just buy...