LPS-40651 Apply same validation pattern to the necessary places - additional restructuring of autoPassword part for user creation, null checks fit more to the validate method