Fixed remember me functionality