Example authentication middleware for the Marvel API