Reverts most changes introduced by 6d510df16680e4be40dba49d563d921681254d9d
Reverts most changes introduced by 6d510df16680e4be40dba49d563d921681254d9d

The changes in 6d510df16680e4be40dba49d563d921681254d9d made
authentication semantics even worse, by breaking the sessionid init path
which allowed us to use a sessionid instead of username:pass each time
we wanted to authenticate a client.

AltSchool/dynamic-rest-client