Add do_not_clear_staging parameter back to build_portfolio
Default redirects to True for HTTP requests