2
That is because the system checks where the visitor is logging in from, and if this doesn't corespond with the XOOPS_URL in your mainfile.php, then you're not logged in to that website. If you don't mind the URL, then change the redirect to a real redirect, and have all traffic forwarded to the real URL, so don't hide that.
Herko