Passcode settings security updates

Moving passcode settings into the keychain, from user defaults.