Added example of where to capture authentication failure and redirect