Clean up login history user-agent saving. Fixes issues with ISO-8859-1 encoded user-agents.
Clean up login history user-agent saving. Fixes issues with ISO-8859-1 encoded user-agents.

svn commit r71550

nburka/site,silverorange/site,silverorange/site,nburka/site