Changing the code 400 to 401 when the authentification isnt correct