Fix `_login_required` for admin pages