Added authentication handler.