fix authentication library problem