Middleware to save url in a cookie while the user creates an account to redirect them when they come back afterwards.