fix redirect loop: go to root path
Merge pull request #682 from ontohub/628-redirect_loop

fix redirect loop: go to root path instead of referrer