set_unless does not work, leading to configured password to be ignored

Changed to the recommended method on the ticket:
https://tickets.opscode.com/browse/CHEF-2945