Fixes RP login errors with PSD.