In case you don't know: Basic Auth and Shopware doesn't play well together (read not at all)
So, how do you close down Shopware testing instances? Only allowing certain IPs would be great, but is not suitable all the time, so happy for every idea you have!