Restrict the permissions, redirection and code coverage

This pull-request adds:
* Ability to limit the permissions the application needs
* Ability to redirect a user after signing-in
* Test of code coverage
* Improve some tests

It changes the release number to 1.1.0