Hi @vandana_ratnaparkhi ,
Did you try creating a user on instance which can login into instance using basic auth ?
Whenever you login to your instance you see a cookie which has login-token used for user authentication.
Also, can you please paste the whole error trace ?
Best Regards,
Milind