Fixed bad credentials errors