RN-2279. Add UTs to cover timeline server authentication. Contributed by Zhijie Shen