I am trying to access cross-account API in AWS using the assumed role. The roles are configured correctly. I am able to invoke API for the first and after that till the sess