Fix login form remember checkbox (#1253)