fixing last issues in pre_authenticated cookbook entry