the HTTP spec does not specify 403 as a valid response code for
requests that require authentication, but the Django server sends 403
for requests that failed because the user was not authenticated
If I were you, I would consider inserting a 403->401 interceptor, so this module could operate without modifications in your environment. Another option would be to fix your server, if that's possible and easy.
the HTTP spec does not specify 403 as a valid response code for requests that require authentication, but the Django server sends 403 for requests that failed because the user was not authenticated