Update check login method

Hopefully the will also help keep cookies in check.

NEEDS TESTING!