Create abstract passcode base class

Moving common passcode functionality into a base class, to make it easier to create an overriding passcode screen.