Topic: Login JavaScript

After transfer with Apex 4.2 on 5.1. Authentification ceased to work. Viewed at Page process login there is only a value of user name, and the password goes the empty. The button an input with action "Redirect to URL" target JavaScript:RunLogin (); I Suspect that the password does not transit because of it . Tried to search full-text query search RunLogin found nothing. Where it to find? Or it is better to me to alter, that the button was submit?