Fix error creating new account using http auth