Fix some Scrutinizer Issues
Fix password check