Changed logging.warn() to logging.warning()
Changed logging.warn() to logging.warning()

Per the documentation (https://docs.python.org/3/library/logging.html?highlight=logging#logging.Logger.warning), the `warn` function is deprecated and should be replaced by `warning`. That's what I'm addressing with this commit.
AresS31/jwtcat