Prevent account creation if  forbidClientAccountCreation is true

Merge the master changes to dev.

On the router side,
if the user is going to the sign up page, show the user an error.

Move account creation to the client side instead of the user.
This should automatically adhere to the forbidClientAccountCreation settings as well as any allow and deny rules.