Check existence of the user more safely.

See: http://sourceforge.jp/projects/groonga/lists/archive/commit/2014-September/025278.html