refactor authentications tests