Minor fixes
Middleware for /logout always gives status 200