fixed login issue, so that default attributes are present