fix authentification roles with groups

if is set roles and groups was some bug