Fix User::hasRoles() method to avoid duplicate roles Act II.