Fix #1489
This Pull request fixes a bug in TBG where the VCS integration plugin would fail to receive notifications
about new commits through the HTTP-API when guest access was denied.
Instead of redirecting the VCS hook request to the login page, it now gets to the right place.
Merge pull request #304 from bauerj/master

Fix #1489