Switch from `getLogin` to `getEffectiveUserName`.

See issue #19 for details.