fixes and tests for admin account creation passing