Add basic http auth to the Client class and expose the status code