Google will begin testing an alternative to passwords next month, in a move that could do away with complicated logins for good.