Add 401 UnauthorizedError to storage adapter

Adds a 401 unauthorized error class to the storage adapter and maps it to its error code in the rest storage adapter.