Protected constructor for subclasses that want to override the getRepository() repository can not be accessed, or if the login in the proxied repository fails..