Cause

The local users other than the admin do not have the REST API permissions.

Solution

Provide "Read Access to APIs" permission while creating the local users.