Fix to feature that hides the logout button - refs BT#9029