Config: throws exception for wrong password.

(Instead of misleading error it had before)