Change error messages for target not set and unauthenticated.