user fails to logout

We found a bug that if you have the following config ```REMEMBER_COOKIE_DOMAIN = '.example.com'```, the user cookie will not be clear when logout. 

Then the user will remain in the login state.