[Auth] Remove deprecated use of split.
Change login user to be more consistent with getModeratorInfo.
Update test so an empty array is not returned falsely during the test.