Set the SESSION_COOKIE_DOMAIN and CSRF_COOKIE_DOMAIN dynamically based
on request.get_host().