Avoid disclosing IP addresses in unauthenticated requests (#10579)
Avoid disclosing IP addresses in unauthenticated requests (#10579)

* removing extra information from the returned error, to avoid leaking it to unauthenticated requests

* removing extra information from the returned error, to avoid leaking it to unauthenticated requests

* Change the error message in a way that is retains the HTTP status code

Co-authored-by: bruj0 <1c1f22ef81edca20d4d30cf0746e64a544e32d43@gmail.com>
hashicorp/vault,hashicorp/vault,hartsock/vault,rnaveiras/vault,hashicorp/vault,hashicorp/vault,hartsock/vault,rnaveiras/vault,rnaveiras/vault,hashicorp/vault,rnaveiras/vault,hartsock/vault,hashicorp/vault,hartsock/vault,rnaveiras/vault,hartsock/vault