General Rack Authentication Framework