Bugfix: Credentials are identified by uid (which are sometimes equal to an email adress)

Though it's absolutely fine to have several credentials with identical email adresses