I just realized that this redirects all non authenticated users. Working on a patch for this.