Use salted hash for storing passwords

Fixed #12.