Handling 401 statusCode Exception + Added ContinueUrl and NotifyUrl as environment options