Pyramid: some signin improvements