Fixed broken remember me functionality