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 would prefer to not expose it. @rlucioni does this need to be exposed for testing?