Fixed the bug due to nullPointer

When login password is incorrect, the second attemp freezes. It's
because the isOneTime gets a null value when the first attempt fails.
Set isOneTime "f" as default fixed the problem.