Added check for (salted) sha hashed passwords.

Now we can verify the passwords like {SHA}, {SSHA},
{SSHA256} and {SSHA512}.

Closes #1