Adapting to apple modified login interface.

apple-dev scripts appeared to stop working. This was caused by apple changing some field names in their login screen. This change incorporates those updated form field names, restoring functionality.