Added login form validation. Fixes https://github.com/WISE-Community/WISE-Translate/issues/15