WP-4712 Changed to use the new user name after the drupal user is created
WP-4712 Modified login process to fit into new restricted pages functionality