Fix OwnerOnlyAuthenticator
Fix authentication for repository.
Fix bootstrap problem on Tomcat.