[Bug 257885] login to api is case-insensitive, but userid attributes not