Graceful exit in integration

Suppress panic messages
Defined AuthHandler to handle login

AuthHandler renders login form and check login form content with
database for login. It will also check authorization for the requested
scope requested.