rest: Return empty search results for empty search
rest: Add unique_id to user resource

Used on puavo-ticket