How do I edit the response of successful register.json? How can you edit the Services' json response of successful register.json to include the user's OR system's auto-generated password, plus any token?

I've tried a variety of combinations of the commented code below..

function logintoboggan_process_login($account, &amp;$edit, $redirect = array()){
  global $user;

  $user = user_load($account-&gt;uid);
  watchdog('login debug', json_encode($edit)); // AT THIS POINT I CAN VERIFY WE HAVE THE PLAIN-TEXT PASSWORD
  //user_login_submit(array(), array('uid' =&gt; $account-&gt;uid));
  user_login_finalize($edit);  
//  $user = user_load($account-&gt;uid);
//  $user-&gt;token = drupal_get_token('services'); //WE HAVE A TOKEN ALTHOUGH I DOUBT THIS WOULD WORK.
//  user_login_finalize($edit);
//  module_invoke_all('hook_user_login');
//  module_invoke_all('tripchi_user_login');
//  module_invoke_all('logintoboggan_user_login');


and even also tried hacking the drupal core on line 3888 of "/modules/user/user.module":

elseif (!$admin &amp;&amp; !variable_get('user_email_verification', TRUE) &amp;&amp; $account-&gt;status) {
      global $user;    
      $user = user_load($account-&gt;uid);
      watchdog('login debug', json_encode($edit));  // AT THIS POINT I CAN VERIFY WE HAVE THE PLAIN-TEXT PASSWORD AND TOKEN AVAILBABLE!
      //user_login_submit(array(), array('uid' =&gt; $account-&gt;uid));
      user_login_finalize($edit);  
    //  $user = user_load($account-&gt;uid);
    //  $user-&gt;token = drupal_get_token('services'); //WE HAVE A TOKEN ALTHOUGH I DOUBT THIS WOULD WORK IN TERMS OF SESSION PERSISTANCE
    //  user_login_finalize($edit);
    _user_mail_notify('register_no_approval_required', $account);
    $form_state['uid'] = $account-&gt;uid;
    user_login_submit(array(), $form_state);
    drupal_set_message(t('Registration successful. You are now logged in.'));
    $form_state['redirect'] = '';
  }


if one of my test lines don't break the call altogether, on success the call just replies:

{
    "uid": "499",
    "uri": "http://localdrupal.tripchi.com/drupalgap/user/499"
}
I was never able to get back the raw text password without hacking on the logintoboggan / user modules themselves (similar to what is shown in my question).  

However, I solved my same purpose of providing immediate-login-upon-registration for Services/API calls using the services_token_access module. This code only hooks onto a success registration then ads the services_token to the response which is now the only thing my client now needs for validation.

function HOOK_services_request_postprocess_alter($controller, $args, &amp;$result) {

if ( gettype($result) == 'array' &amp;&amp; isset($result['uri']) &amp;&amp; isset($result['uid'])) { // THIS CONDITION MATCHES THE DEFAULT RESPONSE OF A SUCCESSFUL REGISTRATION. 
        $user = (object)$result;
        $user = user_load($user-&gt;uid);
        $user = HOOK_services_account_object_alter($user);
        $result = array('token'=&gt;$user-&gt;services_token, 'user'=&gt;$user);
    }
    return $result;
}


function HOOK_services_account_object_alter(&amp;$user) {
    $user-&gt;services_token = services_token_access_update_token($user-&gt;uid, FALSE); // essential for logging in later
    $user-&gt;specialstuff = 'whatever else you need';
    return $user;
}


(The services_token_access module is not particularly popular and barely supported, but worked for me.)