Added the next parameter to the rogue authentication redirect.