cleanup: http log/pass mode prepare