SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
should be added to the .htaccess file before the line with # BEGIN WordPress
because otherwise it will be deleted each time the WP > Settings > Permalinks page is opened and each time a plugin resets the rewrite’s rules.
You can also try removing the .htaccess edits originally reported in this thread and install this plugin: