Fix: Fixed error in python 3 ('module' (json) object has no attribute
'encode')
Fix: Credentials not removed from base_url when using 'session'
authmethod