Add parameterized login. #170