2.2.2: fix password reset detection and 4.3 crashes

improve robustness of password reset detection
4.3 crash fixes, android 4.3 somehow nukes Cipher.getParameters() wtf?
improve settings robustness