Add a test that compares a password that has non-ascii characters against

... the password conveyed to the server via a login ajax call to ensure that
the special characters are preserved.

Fixes #191.