Support authenticated state for REST API