Improve error handling. Add LibLog
Make owin config consistent with contexts and nancy adapter