Made remember me work using localStorage. Fixes #2