Test auth

Add Authorization tests + searchtests