If you want to use an authentication solution which will not make you want to roll your own and highly configurable, use rodauth: http://rodauth.jeremyevans.net/
The reality may be different, but superficially it seems odd.
> Rodauth is Ruby's most advanced authentication framework, designed to work in any rack application.