Fix issue with Redirect::secure

Redirect::secure currently appends "/1" to the end of the path because when the secure method passes an empty array to method to, to sees it as "1". Also, Redirect::to is calling the Urlgenerator to incorrectly.