diff --git a/fcrepo-kernel/src/main/java/org/fcrepo/spring/ModeShapeRepositoryFactoryBean.java b/fcrepo-kernel/src/main/java/org/fcrepo/spring/ModeShapeRepositoryFactoryBean.java
index <HASH>..<HASH> 100644
--- a/fcrepo-kernel/src/main/java/org/fcrepo/spring/ModeShapeRepositoryFactoryBean.java
+++ b/fcrepo-kernel/src/main/java/org/fcrepo/spring/ModeShapeRepositoryFactoryBean.java
@@ -49,6 +49,7 @@ public class ModeShapeRepositoryFactoryBean implements
         }
 
         s.save();
+        s.logout();
     }
 
     @Override
make sure to log-out our repository initialization session