Updating mnesiadir attribute and copying erlang cookie to /root

so that things work again on SmartOS.