If the phone reboots but still asks for a password, perform a factory reset from recovery mode (Power + Volume Up) and repeat the process.