When the switch is on its way out it can cause all kinds of electrical gremlins, just replace it, it's cheap and a half hour job (if you are supple and have tiny hands).
Porsche Boxster Ignition Switch Replacement - 986 / 987 (1997-08) - Pelican Parts Technical Article