allow setting of auth endpoints other than default ones.