fixed the authentication token issue in confirmation and reset passwoed