Modifier keys settings does not work on login screen

Run:

sudo cp ~/Library/Preferences/ByHost/.GlobalPreferences.*.plist \
    /var/root/Library/Preferences/ByHost

and restart.