When I try to call change password API at that time I got User not authenticated error in cognito user pool.