[logout] [fix] [minor] Logout if session expired webnotes/erpnext#839