Fix [#286] - add basic_auth to request and catch failures

Avoid rescuing the `Exception` class.