Issue #441 by cableman: Added auto logout at dependency