Logout is now accessible via the '/logout' endpoint.