Login: disabled submit button issue fixes #1024, fixes #1060.