Clear register errors on popup hide
Trim register and login fields