add save auth to cookies