Financing Entrepreneurial Production: Security Design with Flexible Information Acquisition