Fix some problems related to clustering.

* Fix the broken template to parse correctly again!
* Fix the wipe-db dependency issue for the erlang cookie file.