Fix assignment instead of comparison of password.

This is why some people prefer ``"something" == variable`` comparisons to prevent such a mistakes.