The word mostly retains its historical (descriptive), not modern (pejorative) connotations when used in the context of history.
In fact especially in a historical context cult is akin to a social movement and don’t refer to religions at all. And the word cult is only aligned with religion in the modern context.