Speedup the team invite admin page

user always should be a raw id field, since otherwise we are going to
do a query for all users in the system.