Add unittest for handlers requiring auth