Handle token login with domain