- Fixed wrong query in inital.sql
- Introduced AuthenticationReceiver to handle authentication exception
in one place.