Fixes authentification