[4.2] Validate passwords more safely

As requested. https://github.com/laravel/framework/pull/5148
You can use short array syntax here.