fix long-standing issue with /result

By magic. Some hints as to what was the problem here:
https://github.com/celery/celery/issues/1698