Authentication flow, inspired by https://github.com/timdorr/model-s-api/blob/master/apiary.apib alternative approach with json body http://docs.gooddata.apiary.io/#login