It didn't matter that I was the one who hailed the cab. What I didn't like was the fact that the driver was frantically hand-signaling me to stop opening the passenger door because he obviously preferred to have foreign passengers, probably thought they'd give him a bigger tip or if he's lucky, give him foreign currency. What an asshole.
Good thing the other foreign guy saw me and realized what happened. They didn't ride that cab as well. They hailed another one. In the end, that greedy prick of a driver didn't have any passengers. Hah!