In some incomplete setups (like mine) it can happen that the uid attribute of users is missing. To be able to find out that something is wrong, a debug message is now logged when it has not been found.