Functional test for authorization added.
Merge remote-tracking branch 'origin/master'