catch a condition where password textfield is potentially populated with nil