Fixed issue with PerRequest usage in autofac.
Final fixes for owin and autofac.