Remove extra spaces

The extra spaces mess up the password
Use a tmp file instead of pipe to avoid human intervention
Merge pull request #6 from maoy/working

Fix chef-server installation script