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

Align the parameters of a method call if they span more than one line.