Try on centre stand with the side stand up, in case you have a moody side stand switch.
And recently, after months of misery, i drenched my ignition switch (where the key goes in) with Isopropyl Alcohol spray, which is the same as Contact Cleaner, and it worked absolute wonders as far as starting and running issues.
Apparently over time there are a few contacts in the switch which just gather crap creating a bad contact, so rather than lubing, cleaning is the answer.