Added persistent token repository jdbc impl to persist logins.

Modified login query to return `login` to userName, which makes sense in
the long run if we ever implement our own UserDetailsService. Modified
code accordingly to retrieve username as login instead of id.
Merge branch 'feature-add-remember-me' into dev