This is likely a problem of the secret node file, which is used to communicate between the RSA server and the PAM system to which we are trying to authenticate.
In this case we should proceed as follows:
- In PAM, in the Third Party Menu, in the RSA configuration check the "Clear Node Secret" button
- Repeat this same operation in the RSA server
After this you should be able to login normally