settings: enable auth and session middlewares in DEBUG mode

Needed to be able to use the admin interface.

Fixes #61
Merge pull request #64 from gdesmott/admin

settings: enable auth and session middlewares in DEBUG mode