Renames MongoConfiguration to MongoConfig.
Adds Spring Security configuration.