O auth fixes cookies