Fix get_http_log_path(), update callers, add tests