bugfix public key validation on sign up page, fixes #21