Fix github login process