Only lookup by id if search is an int
@Didayolo
This a follow up to #1206 to only perform id lookup if the search term can be converted to a int. It also restricts it to admin accounts. It also separates the query into a separate query parameter, which I think is better.