create an Drupal core account when using a webform
You can use Drupal Rules to create the Drupal User for a contact when they get a Membership status of 'x'. 

Here is one that KarinG has shared before Using CiviMember to automatically create a Drupal user

Thank you Karin