Hi there and welcome
To clarify, your trying to set up the phone but you cannot as it wont allow you to use your Gmail account, is this correct?
ok, you have to wait 72 hours, its a protection system put in place.
IF you can sign in on it via www.gmail.com then its ok, you just have to wait 72 hours since you change the password and you can then unlock the phone.
They do this to prevent theft of the phone.
Once the 72 hours is up, the phone will accept the password.
You cannot, until you wait out the 72 hours. The way you did the reset tripped the anti theft lock, this is why you have to wait the amount of time.
I know it may be frustrating, but please understand they had to implement this for theft control, its just you had an uncommon situation where at the same time you wiped the phone, you resetted the password. This is why you have the issue.
If you would like any additional information or assistance, please do not hesitate to let me know.
Else if you can take a second to rate my service by clicking one of the stars at the top of the screen then submit, that would be greatly appreciated.