Auth working with Sentry 2

A basic Sentry 2 auth method has been implemented. Now it's time to work
arround with groups and permissions.