The current test of Dancer::Plugin::Authorize fails when installing as a non-root user (perlbrew/cpanm) because it tries (and fails) to create a session_dir. It would really help if this fine module detected $HOME and created the temporary sessions_dir under $HOME instead.

Just a suggestion for a really useful module...