Replace credit_cost and resulting price with credit_cost and session_credit_cost and add tests for them.