This fixes a bug where orientation changes caused the system to ask for the pin/pattern/password multiple times. It also fixes a minor issue where we were showing buttons on the pattern confirmation screen (bug 6218057) Change-Id: I0894f37bb697baa4cc17917aaeb466440279b092