Add support for rlogin