Add scheduler code to run `clear_expired_sessions` automatically

- It's currently set to run every day at 3am, where 3am is an arbitrary
  time.