[#74] Changed the way http authentication is done