1172 refactor authorization tests

Clean up and refactor authorization tests. More at http://dev.mconf.org/redmine/issues/1172