Improving authorized_keys recipe to be more reliable