Add cookie based session support

Maybe it is not related with this PR, but it could be interesting take a look to this and getWebdavPath() methods because they seems not be being used, and in the android project there is another AccountUtils class...

Only for taking a look when is possible :)