Form not working on iPad

I am using the scheduler with a login form in the page header. There are 2 input fields - username and password - and a login button. On iPad, after entering username and password and pressing Login, the password field turns red. It seems to think no value has been entered. I can get around this by moving the cursor out of the password field before pressing Login but most users don’t know to do that. Problem is similar with other touch devices. For example on iPhone I press Done after entering each field instead of tapping the next field.
Any suggestions?