realm.rememberMe vs login.rememberMe

I see “remember me” option in realm/login settings. FreeMarker has corresponding option “realm.rememberMe”. However I see another option in FreeMarker “login.rememberMe”. Why we need this option and how it wors?

I had a similar question which caused me to go digging, seems like this is set here:

Unless I have misunderstood the code, this is used in an error scenario to persist form data previously entered by the user.