The examples for login and logout use GET instead of POST. GET gives me an error when using it, while POST seems to work.