Camunda is logging in and logging out immediately

I am using demo demo its logging me in and immediately logging out.
On inspecting the network is showing this error for the API
/camunda/api/engine/engine/default/user/demo/profile
401 error

@Renuka_Kulkarni spring boot or tomcat distribution?

Is demo user is created? Can you check the table ACT_ID_USER?