Refactor application to use CanCan for authorization
Fix location of code coverage token.