Issue #1962358 by penyaskito: Convert token/flush-cache to a controller.