Stylistically, I prefer `options['basic_auth'].present?`, but that's minor.  This PR looks good!