Add handler for database authentication error. Fixes #14.