Tweaked auth-lookup SQL for when a user has no projects