fix ie and firefox 'remember me' bug