Fix auth login errror