Added config section for email confirmation. Changed debug credentials handling.