Simplified suppress_configured_credentials and made it run on Ruby 1.8.