van der Waals Interactions in Confined Spaces: Surprises Beyond the Random-Phase Approximation