Fixed login.html

Validated input fields (username and password), then only call
InvokeLoginOperation. Without fields being entered, was getting
Invocation error.