Frankenstein Ruby/Rack application to add access control to kibana3