Fix security hole

Problem: if password is stored as "00000" and given password is 0, then the following check "00000" != 0 returns false.

We ensure that password is casted to string, and we do strict comparison.