dsm: fix interrupt context mismatch
The dsm interrupt context was also registered when calling the credential API that can end up in keystore modules that need to register an interrupt context. To fix this issue, register the interrupt context only before dsm calls.