The enroll and login methods in the auth rest adapter should also use JSON.stringify like the save method on the rest pipe adapter