sklise/sinatra-warden-example — pull request #4 by awesomelionel (2014-06-16 15:54:53+00:00)
Title: Preserve the attempted path upon failed authentication

Modify app.rb route '/auth/unauthenticated' do ensure that the
return to path of session[:return_to] will remain even after
a failed authentication attempt.