Added a stash api method call to extract a source code, with authentication support.