Added the fix suggested by @kulbakin that removes the index.php from the...

... urls even when logging in and out.