Fix typo in loginByTwitter()

Correctly set login_type for loginByTwitter()