Change Next signature to include OWIN env for better compatibility