auth frontend: handle request errors more gracefully