Related to [this Stack Overflow question](https://stackoverflow.com/questions/65145152/passportjs-redirection-to-original-url-after-success). The idea is to provide a better UX redirecting the user automatically when trying to access a protected URL before it's logged in.