Restore v3.0.x behaviour in rlm_cache