Testing password methods using session variables.