When signing in to Ancestry there is an option to tick (when they send you a passcode) to ?save (sorry I cannot remember exactly the precise details) but it means that when you sign in in future, you don't need to verify with a passcode, you just type in your user name and password.
William.