One reason why they might have asked you this is because working for services like Uber is illegal in Finland (Helsinki is not in Norway), and they might suspect that a darker skinned person driving with a white person at the back is more likely to be an Uber driver (Uber drivers are predominantly from an immigrant background, from personal experience).
Still racial profiling, but maybe not as bad as being stopped for "only" being black.
>they might suspect that a darker skinned person driving with a white person at the back is more likely to be an Uber driver
I think in Finland official taxis say "TAKSI" and have a yellow sign on the roof, so maybe they might suspect any unofficial-looking car with a driver in the front and the sole passenger in the back as being an Uber.
Still racial profiling, but maybe not as bad as being stopped for "only" being black.