On the validity of the first-order approach with moral hazard and hidden assets