* remove obsolete dependencies
* remove unnecessary authenticated call
* adjust test to not check authenticated if it is not necessary
* code formatting