Show correct field prefix when not using clean URLs

When not using clean URLs the login failure redirect field currently has a prefix of something like `http://localhost/drupal/`, whereas things like the 403 redirect have the correct `http://localhost/drupal/?q=`.