Properly handle errors thrown by userinfo call in /callback