diff --git a/csw-server/src/main/java/org/fao/geonet/csw/common/requests/CatalogRequest.java b/csw-server/src/main/java/org/fao/geonet/csw/common/requests/CatalogRequest.java
index a254a26c3f0..8718d565fa8 100644
--- a/csw-server/src/main/java/org/fao/geonet/csw/common/requests/CatalogRequest.java
+++ b/csw-server/src/main/java/org/fao/geonet/csw/common/requests/CatalogRequest.java
@@ -186,6 +186,7 @@ public Element execute() throws Exception {
 
     public void setCredentials(String username, String password) {
         client.setCredentials(username, password);
+        client.setPreemptiveBasicAuth(true);
     }
 
     //---------------------------------------------------------------------------