fixed authorization tests
travis-ci configuration