Proof of work as an additional factor of authentication