Optimized the user/profile lookup a bit.

We’re bottlenecking on token authentication though. Not sure if we’re
going to be able to increase this speed any further.