Fixed remote login problem (as per feedback from Jacques)