Authorization through 401 header not working

If authorization does not work on your site, then you need to add the file to the root of the site .htaccess with the following content:

RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

If you already have this file, then you only need to add the second line and be sure to at the end of this file.