Fix test for remote login.