I'll make some other changes, as the inclusion of the new code for disabling join button (https://github.com/mozilla-b2g/gaia/pull/8084/files#L10R275) makes obsolete this checkings for password and user. 
Thanks for pointing out!