Protect push tests from environment

If the tests are run somewhere that somebody has push auth
configured, the auth headers bleed into the tests. Add a mock
to prevent that from happening.
Merge pull request #280 from emonty/remove_auth_from_tests

Protect push tests from environment