make sure task correctly redirects after a creation through the API