fixed cookie login samples