:package: Login :: Fixed hash equals bug

Because of the recent changes in the way passwords were stored, the
login algorithm didn't work anymore so it had to be changed.