fix: close HTTP response bodies in authentication methods (#183)