Fixed an autofac/mvc/automapper configuration issue.