Adding disable logic for buttons.

Updated tests and introduced common toggle disable approach for registration and login. 
This is for ECOM-641
@AlasdairSwan @wedaly
I was following the way that I found in the LoginView. I could not expose it, I imagine it was this way for testing advantages.