adding forced logout in tests