Cascode Amplifier vs Cascode Amplifier with CMOS current source
It's to do with the ro of the current mirror M4. Cascode amplifiers need very large load resistors to get the theoretical gain that you quote. With a MOS current mirror the output resistance drops to r0. The solution is to use a cascode current mirror.