Fixes tests related to send 401 status code for unauthorized requests