add tests for temporary login-lock

This pull request contains the integrationtest for the temporay-lock-feature.