Implemented django authentication.
Added settings for Default handler class, so it could be overwritted
Added new event: on_authenticate