[proposal] Authentification for anonymous users and `resource_update`

This pull request fixes #247.


@kindly proposed the fix