killed a bug: pryv auth error handling