[ticket/11305] Mock container for cache driver in functional create_user()

create_user has calls to fetch the cache driver from the container. This
PR mocks the container and returns a null cache driver in that case.