MDL-68974 admin: Unit tests for loginas