Simple security utilities for padrino-sinatra api