Null check for cookie in Rest Client.