refactor(test): Use a single function to fill out the sign up form. 

Fixes #1100.