Fixed a bug where account creation would do nothing.

Fixes  #900