test for remote logout (thanks @jerith)