fix enable_amqp template bug

if we enable_amqp and set amqp_password in node attributes - then Line66 causes recipe to fail when generating template.

This patch fixes it, and eliminates one local variable amqp_password.