AuthConfig moved to the other package. And added base super class for auth config