fix github auto-relogin