Use werkzeug.exceptions.Unauthorized instead
Without this change, test
TestOpenIDCLogin.test_openidc_manual_trigger_unauthorized fails due to
flask responses 500 internal server error rather than 401 unauthorized.
It happens because freshmaker defines its own Unauthorized exception and
register a handler for it. However, when user is not authenticated and
abort is called, flask searches an error handler internally by
werkzeug.exception.Unauthorized. As a result, no asscoiated handler is
found and handler of internal server error is returned finally.
To fix this issue, this patch uses werkzeug's Unauthorized instead and
tests are updated accordingly.
Signed-off-by: Chenxiong Qi <cqi@redhat.com>