Adding option to use runtime cookie when no cookie file is set