audit: Make testing for a valid loginuid explicit.