Ok, I solved my problem. I had to log in to backend using my the same domain. That is, if I access to backend using www.sub.domain.tld/typo3 then typo3 correctly recongnized that I'm logged in. It seem so trivial now! Hope this helps someone in the future. Cheers, Felipe