You have to use your email (Not your password!) if that doesn't work just change your passcode.
Also if you can update your launcher you might be using an old one.
If you have an old account you will get migrated to a new one on minecraft.com if you ask for help there.
Eventually it will log out of your account from time to time so you have to memorize your passcode.