improved CustomLogin constructor (accepts **kwargs)