BZ-1060747: ensure that complete logout will be performed