- exiting when 401

Signed-off-by: Gabriel Andrade <gabriel@b-datum.com>