We need a proper errno for failed authentication so UI can correctly parse it and not show a traceback like that