change nameid and remove attributes from assertion