rift: Fixed the test

We forgotten to add percent encoding for the path
Auth: Returned previous authorization method

Path is again not decoded
rift: Added charset to content-type in json replies

Otherwise it's not clear what encoding to use