Made credentials form forget apiName field.