Fix X-FACEBOOK-PLATFORM authentication in Python3.