Only require UID match if UID is provided
Wire login handler