Add integration test for logging out of the rest_cherrypy app
Don't process request data on logout for rest_cherrypy module

There is no request data when logging out so this was returning a 500
reponse.

Fixes #15015
Merge pull request #15016 from whiteinge/netapi-fix-logout

Add tests and a fix for the rest_cherrypy logout view