Basic ajax lost password

https://github.com/owncloud/core/issues/2926#issuecomment-43311587
You can use https://github.com/owncloud/core/blob/master/lib/private/user/manager.php#L131 and inject the usermanager using:

     $c->query('ServerContainer')->getUserManager();