Use http::redirect(...) which exits on redirect.
Merge pull request #779 from protich/develop

Die on redirect

Reviewed-By: Jared Hancock <jared@osticket.com>