I’m experiencing the same problem, except for the fact that I’m not using encryption, only authentication.
The problem is that editing the plugin file doesn’t fix the issue!
It only works if I edit the file in wp-includes, which is not good.
What could be the problem? Why it is not working?