Solve error on unprivileged login