PrecomputedAOMask node doesn't work

Never Mind. Apparently there is a tick box under world settings called something along the lines of “Use Precomputed Ambient Occlusion mask”.

Ticking that fixes the problem, but it seems you have to bake out lighting to see results.