Put CustomAuthenticator into initializer and register it in container