Utilities for working with OWIN