Gradio authentication not working in Spaces

I’m using the login authentication method demo.launch(auth=(X,X)). The log in page is showing up in my spaces but when i enter the right credentials it just resets to the log in page and doesn’t load the app. When I enter the incorrect credentials, it responds with incorrect credentials. Anyone else dealt with this? I’m using OpenAI API and have enable_queue=FALSE enabled.

Looks like this issue is still unresolved.