fixing validation on sign up/sign in

[#63742242] WIP