Added tests for returning auth header and halt in is_autorized