Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.