Mobile: Fix a issue with the login form submitting too soon