Revert "Revert "fixes bug 911363 - /suspicious/ and /crashes/count_by_day/ endpoints 404 in old middleware""

This reverts commit 595d8707862e9dbaee971022ac963e815d5f0dae.