login takes domain in addition to username and password