I am not sure whether this email thread is still active. However, I am encountering the similar issue you described. Based on your answer, you have found a solution, Do you mind sharing it? Or any one has the suggestion on how to configure Nginx HTTP Auth Request module to accomplish it?