Moved the retrieval of the LoggerContext from class variables configured in the test setUp() to local variables in the actual tests.
Added a try/finally block around each of the ScalaTests for the LoggingServiceImpl to ensure the ConfigurationFactory.CONFIGURATION_FILE_PROPERTY is cleared.
Merge pull request #1182 from rackerlabs/FixNewFlakyTestsCausedByLog4J2xSetup

Moved LoggerContext configuration.
New delegatinh element added to config
add config
add test for basic auth delegating
Implmented delegation in filter
Tweaked basic auth functional test
update remove headers from one test
update delegating messages
Oh god we need to delegate on everything for various reasons
Added a check for being rate limited
Updated tests to match the actual output of the filter and added test case for rate limiting
Lets not use a ThreadLocal, and instead encapsulate returns

This just hands along the Username in addition to the other two items
returned, small modifications to the pattern match to get the info back
out.

Much less complicated imho.
Took out a comment and it wanted a parenthesis, so I added it