Authentication finished still needs improved tests