Significant refactors and addition of remember me/cookie service.