Well, looks like access token retrieval process is now working although is not robust
(lacks exceptions handling etc)