You’ll still be able to query via login name by using the ?login= query param, but no ambiguity there.
?login=