Simplify `AbstractResourceOwner::getResponseContent()` method

Now it will always try to parse json, and only in case of failure, try to parse it as string.

Refs #338.

ps. Test was changed due too fast reset of responses between calls.