fixes issue #63

fixes issue #63 

User is re-logged in upon setting a new password
I don't think this is doing what you think it is. I think here is is calling the success function then passing the result to $update. You will need to rethink this a little bit.