fixed DI container registration
Improved security by making the validation code harder to break if a user got alot of invalid login attempts