misc/coverage: Remove dead code
Remove bad code that never got used in production.
Also remove django cache table settings as it is not needed anymore.