Add code to test authorization scheme