Check your default Web user permissions on your web server since 401 is not a dolibarr error.
thanks, yesbee