Revert "Remove memcache settings during collectstatic"

This reverts commit a7c1127092e537df4b235d17cbeffd28ff488e6c.