Make middleware report when auth fails (async).
Add missing sample namespace.
Update solution.