Don't repeat data in elasticsearch.
Also check that the password is not an empty string.