Empty string check for Erlang Cookie