Correctly encode login password, scrap unused methods
Merge pull request #560 from aidanhs/correctly-encode-login-password

Correctly encode unicode login password