Password protection programmatic access to deploy preview

Need help with access to protected via password, deploy preview.

We want to use Lighthouse audit for checking accessibly of the site hosted on Netlify. But we have a problem with access to deploy preview because it protected via password. Maybe somebody knows some way to access the page within headers (Bearer or Basic-Auth)?

If you use the Basic Auth, you should absolutely be able to use url’s like https://username:password@sitename.com/path . Does that not work for you?