move login-lock mechanism to internalAuthenticationProvider to use the
lock-mechnism also in connector4java