support login on multiple domains