Story#19 LoginMechanism is tested with functional tests