This video was very helpful for me as I was stuck for 8 hours in it, but couldn't login. So here is a point I was missing, I wasn't restarting the ssms but I was just closing it and reopening it. My problem get resolved by restarting it with that menu option.
Also, this video helped me.
Youtube video link