Fix #730: id property ignored when updating task

When calling the user.updateTask function if there was an id in the body it would override the id from the request URI.