Attempt to fix a bug with cookies

Conflicts:
	inc/functions.php
Attempt 2
Fix some bugs in the login system caused by SEO
Merge pull request #119 from thecookiefactory/hotfix-v1.1.4

Cookies bugfix