Change expected format of certificate ID

Resently, bank started to issue certificate IDs without the leading
padding zeros. Such certificates failed validity check that required
them to be exactly 10 characters long.
Check that a key can be opened with given password in status check