Fixed dependencies for password hasher, check for null hash or salt during authentication. ref #41