DEV: Include `login_required` attribute in basic info endpoint (PR #14064)

This is useful in the DiscourseHub mobile app, currently the app queries the about.json endpoint for this info, which can raise a CORS network error, for example when the site only accepts logins from an external provider.

GitHub