Update RedirectController.php

Workaround for headers already sent problem in successAction