new and flexible tracker credentials mechanism

tracker credentials mechanism refactor