Can't bootstrap with Juju due to " error back from server: 401 UNAUTHORIZED"

Solution 1:

401 is essentially letting you know you're credentials are not clearing at the MAAS level. Make sure your SSH key from both machines are enlisted in MAAS, and that you removed ~/.juju/environments/maas.jenv from your machine as it caches information.