Fixed N+1 problem while fetching all owner names of namespaces

If you enter the new project page there will be N+1 queries where N is all the users.