fixes bug 824061 - socorro integration test
Fixes bug 824849 - Fixed and improved middleware testing.
bug 824061 - more complete error checking, allow db auth info override
ignore pep8 E125, r=twobraids
Merge pull request #1041 from rhelmer/bug824061-socorro-integration-test

Bug824061 socorro integration test