change InvalidAuthToken error code to 1000