HomeIn-Portal Phabricator

Fixes #0000922: Redirects during AJAX requests in debug mode are not processed