force login uid to lowercase