Make logging in work

* Set login cookies
* Fix issues with multiple cookies
* Add user exceptions
* Retrieve edit token automatically
* Automatic filters in APIRequests