It's not uncommon for staging and test sites to be deployed behind Basic HTTP Authentication. e.g. https://wpengine.com/support/password-protecting-wp-engine-site/

We are investigating adding support for testing sites that use this.