cleanup of auth config