Basic auth is more something that would be controlled by the server rather than bedrock or PHP code. Have you tried bedrock on that other server? I’d imagine you’d have the same results.
It’s difficult to suggest much as we don’t know how you are performing your requests. Maybe some code would help? And I assume that the code that works on the other server is the exact same as the one on the server that doesn’t?