Fixed password-check logic

Fixed the password-check logic so it's now compliant with the spec (which has the
frontend doing the hashing and passing back a hex string). Also renamed the file.

Signed-off-by: Sebastian Lenartowicz <slenarto@uoguelph.ca>