Do not check for logout element where it breaks the test

Change-Id: Iae1aa20e695ec865b49cd577efbfdb36b07ecd3a
Merge "Do not check for logout element where it breaks the test"