Dash Testing Authentication

I’m trying to write some integration tests for my app that is using dash basic auth but can not figure out how to get past enter the username and password. Has anyone done this?