And so just to make sure that I am understanding the problem that you are dealing with, you are trying to establish a password reset function by using:
Resets the password of an email identity using the password reset function set up in the application.
The email and password details to reset
The email address of the user.
The desired new password.
Type: [BSON, ...]
Arguments passed onto the function.
Found here correct? I am simply confirming to make sure that I am identifying the correct roadblock that you are experiencing.
If so, I will look into this for you and get back to you with the correct means of execution for this function.