write password correctly when creating storage

password should be passwd otherwise the password is not set in the datastore