991548: Display correct error message for registration failures.