Fixing remember me function
Make sure there is only one db entry per uastring
Merge pull request #2672 from Bakual/FixRememberMe

Fixing remember me function