Lendy auditor caused £15m loss to investors - court told