Authentication process, holy fuck tests