diff --git a/common/source/java/genericCommonContext.xml b/common/source/java/genericCommonContext.xml
index f862d3cf6d8e5ad4b869e4c6a18265bc25e7bd4d..a386c0ceba3cf469e0c88885a2c2d9f4d4c83af0 100644
--- a/common/source/java/genericCommonContext.xml
+++ b/common/source/java/genericCommonContext.xml
@@ -125,11 +125,21 @@
         <property name="cacheTimeNoRevalidationStr" value="${authentication.cache.time-no-revalidation}" />
     </bean>
 
-    <bean id="file-ldap-crowd-caching-authentication-service" 
+    <bean id="ldap-crowd-caching-authentication-service" 
     			class = "ch.systemsx.cisd.authentication.file.CachingAuthenticationService">
         <constructor-arg ref="authentication-cache-configuration" />
     </bean>
     
+    <bean id="file-ldap-crowd-caching-authentication-service" 
+    			class = "ch.systemsx.cisd.authentication.stacked.StackedAuthenticationService">
+        <constructor-arg>
+            <list>
+                <ref bean="file-authentication-service" />
+                <ref bean="ldap-crowd-caching-authentication-service" />
+            </list>
+        </constructor-arg>
+    </bean>
+    
     <!-- Keep this for backward compatibility with old service.properties files. -->
     <alias name="ldap-crowd-authentication-service" alias="stacked-authentication-service"/>