add cookie and redis expire for autologin by cookie