CROWD-65: Use set_cookie