SERVER-15706 Refactor internal user authentication
SERVER-15761 Acquire collection-level lock for getting TTL indexes.

Also need to check that the CollectionCatalogEntry is non-NULL
since the specified namespace may not be found in the catalog.