Changed erlang cookie management