Fix previous commit which could lead to 500 errors because if the failure doesn't have a user, the route cannot be generated...
Fix deprecation warnings caused by changes in core's Paginator