Issue #1949740 by Liam Mitchell - Make sure that cache_prefix for Redis is always set - use HTTP_HOST if SERVER_NAME is not set for some reason.