Finish authentication management

An application can now globally, per class and per method configure if
authentication is required or not.

Resolves #4