Everything works as expected except from one thing - the membercard popup. Instead of displaying it how it should, it shows the entire profile in a really ugly way.
After looking through the logs I can see it makes a request for some token generated JSON formatted data which I've looked into.
Firstly, with friendly URLs disabled, I read the file and it shows exactly the data required for the membercard popup:
If I retry the test and read the file but with friendly URLs enabled, that same JSON data shows my full profile - exactly as would be needed by viewing my profile page:
My question is, is there something special required in the url-rewrite to fix this? Maybe I am missing some sort of referral thing, I don't know. But it's the only thing that doesn't seem to be working correctly at all.