Is this still the case? It looks like we just catch all errors in the

```
} else {
    log().error({'err': err, 'host': req.host}, 'An error occurred during login');
    return res.redirect('/?authentication=error');
}
```

block