Fixed required cookie issue with new -c parameter