Add auth handler to unit test