Added method hasDokuwikiCookies
Refactoring
more robust login in constructor
Merge branch 'cookies'