This issue is fixed in NSX 4.2.1 and higher, where NSX will only look up and expand groups that have been added to NSX, instead of all the groups the user belongs to.
Workaround:
To avoid slow login issues due to AD nesting, Broadcom recommends the following configuration limits:
Alternatively, use vIDM as an Identity Source for NSX-T.