Ok I deleted lastlogin file,
Login with 1st profile - Quit game - start launcher - profile remembered - Good
Login with 2nd profile - Quit game - start launcher - both profiles remembered - Good
Login with 1st profile again - Quit Game - start launcher - 1st profile forgotten - Bad
There is the problem I'm having.
P.S. 1st profile is minecraft account, 2nd profile is mojang account.
Don't know if that is relevant.