Fixed remember-me cookie issue