update requests lib & extract auth system from core

related to issue #122