Merge pull request #6632 from mrclay/brettp-updated_cookies_upgrade1

Fixes remember me upgrade and functionality
chore(session): moves persistent login logic to service

This adds a persistent login service, which centralizes this logic and
documents the processes and legacy information.