Exits from request on logout hook

Also, adds response to logout hook which indicates whether it succeeded or failed.

This fixes an issue where the logout hook looks like it fails (because it displays HTML from the page it's hitting), but really succeeds.