added basic auth to queries, configurable in web.xml
re-jiggered Resource (aka QuickFacts) query, so that Allegrograph
doesn't error out on the 'exists' clause